package homework.work7;

public class Student extends Person implements PracticalAbility{
    @Override
    public void eat() {
        System.out.println("student eat");
    }

    @Override
    public void sleep() {
        System.out.println("student sleep");
    }

    public Student(String name, boolean gender, int age) {
        super(name, gender, age);
    }

    @Override
    public void practicalAbility() {
        System.out.println("student ability");
    }
}
